package com.example.shop.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.shop.util.NotNull;
import lombok.Data;

@Data
@TableName("tbl_shopping")
public class ShoppingBean {
    @TableId(type= IdType.AUTO)
    public Integer id;

    @NotNull
    public Integer count;

    @NotNull
    public Integer pid;

    @NotNull
    public Integer oid;
}
